package com.cloud.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//开启服务注册
@EnableEurekaClient
@SpringBootApplication
@MapperScan("com.cloud.demo.dao")
@EnableSwagger2
public class CloudUserServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(CloudUserServiceApplication.class, args);
	}
}
